import { get, post, formData } from "@/api/services/formReq";
import { post as post1 } from "../services/jsonReq";

// 用户下拉
export const userQuery = params => post(`/v1/user/query?types=${params}`);

export const userQuerySearch = params => post(`/v1/user/query?types=1`, params);
//用户下拉搜索
export const userQuery1 = params => post(`/v1/user/query?types=2`, params);
//Dco下拉
export const DcoQuery = params => post("/v1/dco/dropDown", params);
// 通过email查询用户
export const getUserList = params => post("/v1/bmw/get/user", params);

// 获取所有DCO
export const getDcoList = params => post("/v1/dco/get", params);

export const getTemplateTreeList = params => post1("vprivacy-platform/classificationTemplate/queryTemplateTreeList", params)

